package com.jeecms.wicool.entity.lottery.base;

import java.sql.Timestamp;

import com.jeecms.wicool.entity.lottery.LotteryConfig;
import com.jeecms.wicool.entity.shops.ShopInfo;


public abstract class AbstractActiveConfig implements java.io.Serializable {

	// Fields

	private Integer id;
	private ShopInfo shop;
	private String img;
	private Integer pro;
	private String name;
	private String content;
	private String startTime;
	private String endTime;
	private Integer status;
	private String statusName;
	
	private Integer lotteryDayCount;
	private Integer lotteryCount;
	private Timestamp createTime;
	private Timestamp updateTime;
	private java.util.Set<LotteryConfig> lotteryConfigs;
	
	// Constructors

	/** default constructor */
	public AbstractActiveConfig() {
	}


	public AbstractActiveConfig(Integer id, ShopInfo shop, String img,
			Integer pro, String name, String content, String startTime,
			String endTime, Integer status, Integer lotteryDayCount,
			Integer lotteryCount, Timestamp createTime, Timestamp updateTime) {
		super();
		this.id = id;
		this.shop = shop;
		this.img = img;
		this.pro = pro;
		this.name = name;
		this.content = content;
		this.startTime = startTime;
		this.endTime = endTime;
		this.status = status;
		this.lotteryDayCount = lotteryDayCount;
		this.lotteryCount = lotteryCount;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public ShopInfo getShop() {
		return shop;
	}


	public void setShop(ShopInfo shop) {
		this.shop = shop;
	}


	public String getImg() {
		return img;
	}


	public void setImg(String img) {
		this.img = img;
	}


	public Integer getPro() {
		return pro;
	}


	public void setPro(Integer pro) {
		this.pro = pro;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public String getStartTime() {
		return startTime;
	}


	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}


	public String getEndTime() {
		return endTime;
	}


	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}


	public Integer getStatus() {
		return status;
	}


	public void setStatus(Integer status) {
		this.status = status;
	}


	public Integer getLotteryDayCount() {
		return lotteryDayCount;
	}


	public void setLotteryDayCount(Integer lotteryDayCount) {
		this.lotteryDayCount = lotteryDayCount;
	}


	public Integer getLotteryCount() {
		return lotteryCount;
	}


	public void setLotteryCount(Integer lotteryCount) {
		this.lotteryCount = lotteryCount;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}


	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}


	public String getStatusName() {
		return statusName;
	}


	public void setLotteryConfigs(java.util.Set<LotteryConfig> lotteryConfigs) {
		this.lotteryConfigs = lotteryConfigs;
	}


	public java.util.Set<LotteryConfig> getLotteryConfigs() {
		return lotteryConfigs;
	}

}